home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / TEX files.adf / inputs / plain.tex < prev   
Text File  |  1988-02-21  |  43KB  |  1,221 lines

  1. % This is the plain TeX format that's described in The TeXbook.
  2. % N.B.: A version number is defined at the very end of this file;
  3. %       please change that number whenever the file is modified!
  4. % And don't modify the file under any circumstances.
  5.  
  6. \catcode`\{=1 % left brace is begin-group character
  7. \catcode`\}=2 % right brace is end-group character
  8. \catcode`\$=3 % dollar sign is math shift
  9. \catcode`\&=4 % ampersand is alignment tab
  10. \catcode`\#=6 % hash mark is macro parameter character
  11. \catcode`\^=7 \catcode`\^^K=7 % circumflex and uparrow are for superscripts
  12. \catcode`\_=8 \catcode`\^^A=8 % underline and downarrow are for subscripts
  13. \catcode`\^^I=10 % ascii tab is a blank space
  14. \chardef\active=13 \catcode`\~=\active % tilde is active
  15. \catcode`\^^L=\active \outer\def^^L{\par} % ascii form-feed is "\outer\par"
  16.  
  17. \message{Preloading the plain format: codes,}
  18.  
  19. % We had to define the \catcodes right away, before the message line,
  20. % since \message uses the { and } characters.
  21. % When INITEX (the TeX initializer) starts up,
  22. % it has defined the following \catcode values:
  23. % \catcode`\^^@=9 % ascii null is ignored
  24. % \catcode`\^^M=5 % ascii return is end-line
  25. % \catcode`\\=0 % backslash is TeX escape character
  26. % \catcode`\%=14 % percent sign is comment character
  27. % \catcode`\ =10 % ascii space is blank space
  28. % \catcode`\^^?=15 % ascii delete is invalid
  29. % \catcode`\A=11 ... \catcode`\Z=11 % uppercase letters
  30. % \catcode`\a=11 ... \catcode`\z=11 % lowercase letters
  31. % all others are type 12 (other)
  32.  
  33. % Here is a list of the characters that have been specially catcoded:
  34. \def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
  35.   \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~}
  36. % (not counting ascii null, tab, linefeed, formfeed, return, delete)
  37. % Each symbol in the list is preceded by \do, which can be defined
  38. % if you want to do something to every item in the list.
  39.  
  40. % We make @ signs act like letters, temporarily, to avoid conflict
  41. % between user names and internal control sequences of plain format.
  42. \catcode`@=11
  43.  
  44. % INITEX sets up \mathcode x=x, for x=0..127, except that
  45. % \mathcode x=x+"7100, for x = `A to `Z and `a to `z;
  46. % \mathcode x=x+"7000, for x = `0 to `9.
  47. % The following changes define internal codes as recommended
  48. % in Appendix C of The TeXbook:
  49. \mathcode`\^^@="2201 % \cdot
  50. \mathcode`\^^A="3223 % \downarrow
  51. \mathcode`\^^B="010B % \alpha
  52. \mathcode`\^^C="010C % \beta
  53. \mathcode`\^^D="225E % \land
  54. \mathcode`\^^E="023A % \lnot
  55. \mathcode`\^^F="3232 % \in
  56. \mathcode`\^^G="0119 % \pi
  57. \mathcode`\^^H="0115 % \lambda
  58. \mathcode`\^^I="010D % \gamma
  59. \mathcode`\^^J="010E % \delta
  60. \mathcode`\^^K="3222 % \uparrow
  61. \mathcode`\^^L="2206 % \pm
  62. \mathcode`\^^M="2208 % \oplus
  63. \mathcode`\^^N="0231 % \infty
  64. \mathcode`\^^O="0140 % \partial
  65. \mathcode`\^^P="321A % \subset
  66. \mathcode`\^^Q="321B % \supset
  67. \mathcode`\^^R="225C % \cap
  68. \mathcode`\^^S="225B % \cup
  69. \mathcode`\^^T="0238 % \forall
  70. \mathcode`\^^U="0239 % \exists
  71. \mathcode`\^^V="220A % \otimes
  72. \mathcode`\^^W="3224 % \leftrightarrow
  73. \mathcode`\^^X="3220 % \leftarrow
  74. \mathcode`\^^Y="3221 % \rightarrow
  75. \mathcode`\^^Z="8000 % \ne
  76. \mathcode`\^^[="2205 % \diamond
  77. \mathcode`\^^\="3214 % \le
  78. \mathcode`\^^]="3215 % \ge
  79. \mathcode`\^^^="3211 % \equiv
  80. \mathcode`\^^_="225F % \lor
  81. \mathcode`\ ="8000 % \space
  82. \mathcode`\!="5021
  83. \mathcode`\'="8000 % ^\prime
  84. \mathcode`\(="4028
  85. \mathcode`\)="5029
  86. \mathcode`\*="2203 % \ast
  87. \mathcode`\+="202B
  88. \mathcode`\,="613B
  89. \mathcode`\-="2200
  90. \mathcode`\.="013A
  91. \mathcode`\/="013D
  92. \mathcode`\:="303A
  93. \mathcode`\;="603B
  94. \mathcode`\<="313C
  95. \mathcode`\=="303D
  96. \mathcode`\>="313E
  97. \mathcode`\?="503F
  98. \mathcode`\[="405B
  99. \mathcode`\\="026E % \backslash
  100. \mathcode`\]="505D
  101. \mathcode`\_="8000 % \_
  102. \mathcode`\{="4266
  103. \mathcode`\|="026A
  104. \mathcode`\}="5267
  105. \mathcode`\^^?="1273 % \smallint
  106.  
  107. % INITEX sets \uccode`x=`X and \uccode `X=`X for all letters x,
  108. % and \lccode`x=`x, \lccode`X=`x; all other values are zero.
  109. % No changes to those tables are needed in plain TeX format.
  110.  
  111. % INITEX sets \sfcode x=1000 for all x, except that \sfcode`X=999
  112. % for uppercase letters. The following changes are needed:
  113. \sfcode`\)=0 \sfcode`\'=0 \sfcode`\]=0
  114. % The \nonfrenchspacing macro will make further changes to \sfcode values.
  115.  
  116. % Finally, INITEX sets all \delcode values to -1, except \delcode`.=0
  117. \delcode`\(="028300
  118. \delcode`\)="029301
  119. \delcode`\[="05B302
  120. \delcode`\]="05D303
  121. \delcode`\<="26830A
  122. \delcode`\>="26930B
  123. \delcode`\/="02F30E
  124. \delcode`\|="26A30C
  125. \delcode`\\="26E30F
  126. % N.B. { and } should NOT get delcodes; otherwise parameter grouping fails!
  127.  
  128. % To make the plain macros more efficient in time and space,
  129. % several constant values are declared here as control sequences.
  130. % If they were changed, anything could happen; so they are private symbols.
  131. \chardef\@ne=1
  132. \chardef\tw@=2
  133. \chardef\thr@@=3
  134. \chardef\sixt@@n=16
  135. \chardef\@cclv=255
  136. \mathchardef\@cclvi=256
  137. \mathchardef\@m=1000
  138. \mathchardef\@M=10000
  139. \mathchardef\@MM=20000
  140.  
  141. % Allocation of registers
  142.  
  143. % Here are macros for the automatic allocation of \count, \box, \dimen,
  144. % \skip, \muskip, and \toks registers, as well as \read and \write
  145. % stream numbers, \fam codes, and \insert numbers.
  146.  
  147. \message{registers,}
  148.  
  149. % When a register is used only temporarily, it need not be allocated;
  150. % grouping can be used, making the value previously in the register return
  151. % after the close of the group.  The main use of these macros is for
  152. % registers that are defined by one macro and used by others, possibly at
  153. % different nesting levels.  All such registers should be defined through
  154. % these macros; otherwise conflicts may occur, especially when two or more
  155. % more macro packages are being used at once.
  156.  
  157. % The following counters are reserved:
  158. %   0 to 9  page numbering
  159. %       10  count allocation
  160. %       11  dimen allocation
  161. %       12  skip allocation
  162. %       13  muskip allocation
  163. %       14  box allocation
  164. %       15  toks allocation
  165. %       16  read file allocation
  166. %       17  write file allocation
  167. %       18  math family allocation
  168. %       19  insert allocation
  169. %       20  the most recently allocated number
  170. %       21  constant -1
  171. % New counters are allocated starting with 22, 23, etc.  Other registers are
  172. % allocated starting with 10.  This leaves 0 through 9 for the user to play
  173. % with safely, except that counts 0 to 9 are considered to be the page and
  174. % subpage numbers (since they are displayed during output). In this scheme,
  175. % \count 10 always contains the number of the highest-numbered counter that
  176. % has been allocated, \count 14 the highest-numbered box, etc.
  177. % Inserts are given numbers 254, 253, etc., since they require a \count,
  178. % \dimen, \skip, and \box all with the same number; \count 19 contains the
  179. % lowest-numbered insert that has been allocated. Of course, \box255 is
  180. % reserved for \output; \count255, \dimen255, and \skip255 can be used freely.
  181.  
  182. % It is recommended that macro designers always use
  183. % \global assignments with respect to registers numbered 1, 3, 5, 7, 9, and
  184. % always non-\global assignments with respect to registers 0, 2, 4, 6, 8, 255.
  185. % This will prevent ``save stack buildup'' that might otherwise occur.
  186.  
  187. \count10=21 % allocates \count registers 22, 23, ...
  188. \count11=9 % allocates \dimen registers 10, 11, ...
  189. \count12=9 % allocates \skip registers 10, 11, ...
  190. \count13=9 % allocates \muskip registers 10, 11, ...
  191. \count14=9 % allocates \box registers 10, 11, ...
  192. \count15=9 % allocates \toks registers 10, 11, ...
  193. \count16=-1 % allocates input streams 0, 1, ...
  194. \count17=-1 % allocates output streams 0, 1, ...
  195. \count18=3 % allocates math families 4, 5, ...
  196. \count19=255 % allocates insertions 254, 253, ...
  197. \countdef\insc@unt=19 % the insertion counter
  198. \countdef\allocationnumber=20 % the most recent allocation
  199. \countdef\m@ne=21 \m@ne=-1 % a handy constant
  200. \def\wlog{\immediate\write\m@ne} % write on log file (only)
  201.  
  202. % Here are abbreviations for the names of scratch registers
  203. % that don't need to be allocated.
  204.  
  205. \countdef\count@=255
  206. \dimendef\dimen@=0
  207. \dimendef\dimen@i=1 % global only
  208. \dimendef\dimen@ii=2
  209. \skipdef\skip@=0
  210. \toksdef\toks@=0
  211.  
  212. % Now, we define \newcount, \newbox, etc. so that you can say \newcount\foo
  213. % and \foo will be defined (with \countdef) to be the next counter.
  214. % To find out which counter \foo is, you can look at \allocationnumber.
  215. % Since there's no \boxdef command, \chardef is used to define a \newbox,
  216. % \newinsert, \newfam, and so on.
  217.  
  218. \outer\def\newcount{\alloc@0\count\countdef\insc@unt}
  219. \outer\def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
  220. \outer\def\newskip{\alloc@2\skip\skipdef\insc@unt}
  221. \outer\def\newmuskip{\alloc@3\muskip\muskipdef\@cclvi}
  222. \outer\def\newbox{\alloc@4\box\chardef\insc@unt}
  223. \let\newtoks=\relax % we do this to allow plain.tex to be read in twice
  224. \outer\def\newhelp#1#2{\newtoks#1#1\expandafter{\csname#2\endcsname}}
  225. \outer\def\newtoks{\alloc@5\toks\toksdef\@cclvi}
  226. \outer\def\newread{\alloc@6\read\chardef\sixt@@n}
  227. \outer\def\newwrite{\alloc@7\write\chardef\sixt@@n}
  228. \outer\def\newfam{\alloc@8\fam\chardef\sixt@@n}
  229. \def\alloc@#1#2#3#4#5{\global\advance\count1#1by\@ne
  230.   \ch@ck#1#4#2% make sure there's still room
  231.   \allocationnumber=\count1#1%
  232.   \global#3#5=\allocationnumber
  233.   \wlog{\string#5=\string#2\the\allocationnumber}}
  234. \outer\def\newinsert#1{\global\advance\insc@unt by\m@ne
  235.   \ch@ck0\insc@unt\count
  236.   \ch@ck1\insc@unt\dimen
  237.   \ch@ck2\insc@unt\skip
  238.   \ch@ck4\insc@unt\box
  239.   \allocationnumber=\insc@unt
  240.   \global\chardef#1=\allocationnumber
  241.   \wlog{\string#1=\string\insert\the\allocationnumber}}
  242. \def\ch@ck#1#2#3{\ifnum\count1#1<#2%
  243.   \else\errmessage{No room for a new #3}\fi}
  244.  
  245. % Here are some examples of allocation.
  246. \newdimen\maxdimen \maxdimen=16383.99999pt % the largest legal <dimen>
  247. \newskip\hideskip \hideskip=-1000pt plus 1fill % negative but can grow
  248. \newskip\centering \centering=0pt plus 1000pt minus 1000pt
  249. \newdimen\p@ \p@=1pt % this saves macro space and time
  250. \newdimen\z@ \z@=0pt % can be used both for 0pt and 0
  251. \newskip\z@skip \z@skip=0pt plus0pt minus0pt
  252. \newbox\voidb@x % permanently void box register
  253.  
  254. % And here's a different sort of allocation:
  255. % For example, \newif\iffoo creates \footrue, \foofalse to go with \iffoo.
  256. \outer\def\newif#1{\count@\escapechar \escapechar\m@ne
  257.   \expandafter\expandafter\expandafter
  258.    \edef\@if#1{true}{\let\noexpand#1=\noexpand\iftrue}%
  259.   \expandafter\expandafter\expandafter
  260.    \edef\@if#1{false}{\let\noexpand#1=\noexpand\iffalse}%
  261.   \@if#1{false}\escapechar\count@} % the condition starts out false
  262. \def\@if#1#2{\csname\expandafter\if@\string#1#2\endcsname}
  263. {\uccode`1=`i \uccode`2=`f \uppercase{\gdef\if@12{}}} % `if' is required
  264.  
  265. % Assign initial values to TeX's parameters
  266.  
  267. \message{parameters,}
  268.  
  269. % All of TeX's numeric parameters are listed here,
  270. % but the code is commented out if no special value needs to be set.
  271. % INITEX makes all parameters zero except where noted.
  272.  
  273. \pretolerance=100
  274. \tolerance=200 % INITEX sets this to 10000
  275. \hbadness=1000
  276. \vbadness=1000
  277. \linepenalty=10
  278. \hyphenpenalty=50
  279. \exhyphenpenalty=50
  280. \binoppenalty=700
  281. \relpenalty=500
  282. \clubpenalty=150
  283. \widowpenalty=150
  284. \displaywidowpenalty=50
  285. \brokenpenalty=100
  286. \predisplaypenalty=10000
  287. % \postdisplaypenalty=0
  288. % \interlinepenalty=0
  289. % \floatingpenalty=0, set during \insert
  290. % \outputpenalty=0, set before TeX enters \output
  291. \doublehyphendemerits=10000
  292. \finalhyphendemerits=5000
  293. \adjdemerits=10000
  294. % \looseness=0, cleared by TeX after each paragraph
  295. % \pausing=0
  296. % \tracingonline=0
  297. % \tracingmacros=0
  298. % \tracingstats=0
  299. % \tracingparagraphs=0
  300. % \tracingpages=0
  301. % \tracingoutput=0
  302. \tracinglostchars=1
  303. % \tracingcommands=0
  304. % \tracingrestores=0
  305. \uchyph=1
  306. % \globaldefs=0
  307. % \maxdeadcycles=25 % INITEX does this
  308. % \hangafter=1 % INITEX does this, also TeX after each paragraph
  309. % \fam=0
  310. % \mag=1000 % INITEX does this
  311. % \escapechar=`\\ % INITEX does this
  312. \defaulthyphenchar=`\-
  313. \defaultskewchar=-1
  314. % \endlinechar=`\^^M % INITEX does this
  315. \newlinechar=-1
  316. \delimiterfactor=901
  317. % \time=now % TeX does this at beginning of job
  318. % \day=now % TeX does this at beginning of job
  319. % \month=now % TeX does this at beginning of job
  320. % \year=now % TeX does this at beginning of job
  321. \showboxbreadth=5
  322. \showboxdepth=3
  323.  
  324. \hfuzz=0.1pt
  325. \vfuzz=0.1pt
  326. \overfullrule=5pt
  327. \hsize=6.5in
  328. \vsize=8.9in
  329. \maxdepth=4pt
  330. \splitmaxdepth=\maxdimen
  331. \boxmaxdepth=\maxdimen
  332. % \lineskiplimit=0pt, changed by \normalbaselines
  333. \delimitershortfall=5pt
  334. \nulldelimiterspace=1.2pt
  335. \scriptspace=0.5pt
  336. % \mathsurround=0pt
  337. % \predisplaysize=0pt, set before TeX enters $$
  338. % \displaywidth=0pt, set before TeX enters $$
  339. % \displayindent=0pt, set before TeX enters $$
  340. \parindent=20pt
  341. % \hangindent=0pt, zeroed by TeX after each paragraph
  342. % \hoffset=0pt
  343. % \voffset=0pt
  344.  
  345. % \baselineskip=0pt, changed by \normalbaselines
  346. % \lineskip=0pt, changed by \normalbaselines
  347. \parskip=0pt plus 1pt
  348. \abovedisplayskip=12pt plus 3pt minus 9pt
  349. \abovedisplayshortskip=0pt plus 3pt
  350. \belowdisplayskip=12pt plus 3pt minus 9pt
  351. \belowdisplayshortskip=7pt plus 3pt minus 4pt
  352. % \leftskip=0pt
  353. % \rightskip=0pt
  354. \topskip=10pt
  355. \splittopskip=10pt
  356. % \tabskip=0pt
  357. % \spaceskip=0pt
  358. % \xspaceskip=0pt
  359. \parfillskip=0pt plus 1fil
  360.  
  361. \thinmuskip=3mu
  362. \medmuskip=4mu plus 2mu minus 4mu
  363. \thickmuskip=5mu plus 5mu
  364.  
  365. % We also define special registers that function like parameters:
  366. \newskip\smallskipamount \smallskipamount=3pt plus 1pt minus 1pt
  367. \newskip\medskipamount \medskipamount=6pt plus 2pt minus 2pt
  368. \newskip\bigskipamount \bigskipamount=12pt plus 4pt minus 4pt
  369. \newskip\normalbaselineskip \normalbaselineskip=12pt
  370. \newskip\normallineskip \normallineskip=1pt
  371. \newdimen\normallineskiplimit \normallineskiplimit=0pt
  372. \newdimen\jot \jot=3pt
  373. \newcount\interdisplaylinepenalty \interdisplaylinepenalty=100
  374. \newcount\interfootnotelinepenalty \interfootnotelinepenalty=100
  375.  
  376. % Definitions for preloaded fonts
  377.  
  378. \def\magstephalf{1095 }
  379. \def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or 2074\or 2488\fi\relax}
  380.  
  381. % Fonts assigned to \preloaded are not part of "plain TeX",
  382. % but they are preloaded so that other format packages can use them.
  383. % For example, if another set of macros says "\font\ninerm=cmr9",
  384. % TeX will not have to reload the font metric information for cmr9.
  385.  
  386. \message{fonts,}
  387.  
  388. \font\tenrm=cmr10 % roman text
  389. %\font\preloaded=cmr9
  390. %\font\preloaded=cmr8
  391. \font\sevenrm=cmr7
  392. %\font\preloaded=cmr6
  393. \font\fiverm=cmr5
  394.  
  395. \font\teni=cmmi10 % math italic
  396. %\font\preloaded=cmmi9
  397. %\font\preloaded=cmmi8
  398. \font\seveni=cmmi7
  399. %\font\preloaded=cmmi6
  400. \font\fivei=cmmi5
  401.  
  402. \font\tensy=cmsy10 % math symbols
  403. %\font\preloaded=cmsy9
  404. %\font\preloaded=cmsy8
  405. \font\sevensy=cmsy7
  406. %\font\preloaded=cmsy6
  407. \font\fivesy=cmsy5
  408.  
  409. \font\tenex=cmex10 % math extension
  410.  
  411. %\font\preloaded=cmss10 % sans serif
  412. %\font\preloaded=cmssq8
  413.  
  414. %\font\preloaded=cmssi10 % sans serif italic
  415. %\font\preloaded=cmssqi8
  416.  
  417. \font\tenbf=cmbx10 % boldface extended
  418. %\font\preloaded=cmbx9
  419. %\font\preloaded=cmbx8
  420. \font\sevenbf=cmbx7
  421. %\font\preloaded=cmbx6
  422. \font\fivebf=cmbx5
  423.  
  424. \font\tentt=cmtt10 % typewriter
  425. %\font\preloaded=cmtt9
  426. %\font\preloaded=cmtt8
  427.  
  428. %\font\preloaded=cmsltt10 % slanted typewriter
  429.  
  430. \font\tensl=cmsl10 % slanted roman
  431. %\font\preloaded=cmsl9
  432. %\font\preloaded=cmsl8
  433.  
  434. \font\tenit=cmti10 % text italic
  435. %\font\preloaded=cmti9
  436. %\font\preloaded=cmti8
  437. %\font\preloaded=cmti7
  438.  
  439. \message{more fonts,}
  440. %\font\preloaded=cmu10 % unslanted text italic
  441.  
  442. %\font\preloaded=cmmib10 % bold math italic
  443. %\font\preloaded=cmbsy10 % bold math symbols
  444.  
  445. %\font\preloaded=cmcsc10 % caps and small caps
  446.  
  447. %\font\preloaded=cmssbx10 % sans serif bold extended
  448.  
  449. %\font\preloaded=cmdunh10 % Dunhill style
  450.  
  451. %\font\preloaded=cmr7 scaled \magstep4 % for titles
  452. %\font\preloaded=cmtt10 scaled \magstep2
  453. %\font\preloaded=cmssbx10 scaled \magstep2
  454.  
  455. %\font\preloaded=manfnt % METAFONT logo and dragon curve and special symbols
  456.  
  457. % Additional \preloaded fonts can be specified here.
  458. % (And those that were \preloaded above can be eliminated.)
  459.  
  460. \let\preloaded=\undefined % preloaded fonts must be declared anew later.
  461.  
  462. \skewchar\teni='177 \skewchar\seveni='177 \skewchar\fivei='177
  463. \skewchar\tensy='60 \skewchar\sevensy='60 \skewchar\fivesy='60
  464.  
  465. \textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
  466. \def\rm{\fam\z@\tenrm}
  467. \textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei
  468. \def\mit{\fam\@ne} \def\oldstyle{\fam\@ne\teni}
  469. \textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
  470. \def\cal{\fam\tw@}
  471. \textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
  472. \newfam\itfam \def\it{\fam\itfam\tenit} % \it is family 4
  473. \textfont\itfam=\tenit
  474. \newfam\slfam \def\sl{\fam\slfam\tensl} % \sl is family 5
  475. \textfont\slfam=\tensl
  476. \newfam\bffam \def\bf{\fam\bffam\tenbf} % \bf is family 6
  477. \textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf
  478. \scriptscriptfont\bffam=\fivebf
  479. \newfam\ttfam \def\tt{\fam\ttfam\tentt} % \tt is family 7
  480. \textfont\ttfam=\tentt
  481.  
  482. % Macros for setting ordinary text
  483. \message{macros,}
  484.  
  485. \def\frenchspacing{\sfcode`\.\@m \sfcode`\?\@m \sfcode`\!\@m
  486.   \sfcode`\:\@m \sfcode`\;\@m \sfcode`\,\@m}
  487. \def\nonfrenchspacing{\sfcode`\.3000\sfcode`\?3000\sfcode`\!3000%
  488.   \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 }
  489.  
  490. \def\normalbaselines{\lineskip\normallineskip
  491.   \baselineskip\normalbaselineskip \lineskiplimit\normallineskiplimit}
  492.  
  493. \def\^^M{\ } % control <return> = control <space>
  494. \def\^^I{\ } % same for <tab>
  495.  
  496. \def\lq{`} \def\rq{'}
  497. \def\lbrack{[} \def\rbrack{]}
  498.  
  499. \let\endgraf=\par \let\endline=\cr
  500.  
  501. \def\space{ }
  502. \def\empty{}
  503. \def\null{\hbox{}}
  504.  
  505. \let\bgroup={ \let\egroup=}
  506.  
  507. % In \obeylines, we say `\let^^M=\par' instead of `\def^^M{\par}'
  508. % since this allows, for example, `\let\par=\cr \obeylines \halign{...'
  509. {\catcode`\^^M=\active % these lines must end with %
  510.   \gdef\obeylines{\catcode`\^^M\active \let^^M\par}%
  511.   \global\let^^M\par} % this is in case ^^M appears in a \write
  512. \def\obeyspaces{\catcode`\ \active}
  513. {\obeyspaces\global\let =\space}
  514.  
  515. \def\loop#1\repeat{\def\body{#1}\iterate}
  516. \def\iterate{\body \let\next\iterate \else\let\next\relax\fi \next}
  517. \let\repeat=\fi % this makes \loop...\if...\repeat skippable
  518.  
  519. \def\thinspace{\kern .16667em }
  520. \def\negthinspace{\kern-.16667em }
  521. \def\enspace{\kern.5em }
  522.  
  523. \def\enskip{\hskip.5em\relax}
  524. \def\quad{\hskip1em\relax}
  525. \def\qquad{\hskip2em\relax}
  526.  
  527. \def\smallskip{\vskip\smallskipamount}
  528. \def\medskip{\vskip\medskipamount}
  529. \def\bigskip{\vskip\bigskipamount}
  530.  
  531. \def\nointerlineskip{\prevdepth-1000\p@}
  532. \def\offinterlineskip{\baselineskip-1000\p@
  533.   \lineskip\z@ \lineskiplimit\maxdimen}
  534.  
  535. \def\vglue{\afterassignment\vgl@\skip@=}
  536. \def\vgl@{\par \dimen@\prevdepth \hrule height\z@
  537.   \nobreak\vskip\skip@ \prevdepth\dimen@}
  538. \def\hglue{\afterassignment\hgl@\skip@=}
  539. \def\hgl@{\leavevmode \count@\spacefactor \vrule width\z@
  540.   \nobreak\hskip\skip@ \spacefactor\count@}
  541.  
  542. \def~{\penalty\@M \ } % tie
  543. \def\slash{/\penalty\exhyphenpenalty} % a `/' that acts like a `-'
  544.  
  545. \def\break{\penalty-\@M}
  546. \def\nobreak{\penalty \@M}
  547. \def\allowbreak{\penalty \z@}
  548.  
  549. \def\filbreak{\par\vfil\penalty-200\vfilneg}
  550. \def\goodbreak{\par\penalty-500 }
  551. \def\eject{\par\break}
  552. \def\supereject{\par\penalty-\@MM}
  553.  
  554. \def\removelastskip{\ifdim\lastskip=\z@\else\vskip-\lastskip\fi}
  555. \def\smallbreak{\par\ifdim\lastskip<\smallskipamount
  556.   \removelastskip\penalty-50\smallskip\fi}
  557. \def\medbreak{\par\ifdim\lastskip<\medskipamount
  558.   \removelastskip\penalty-100\medskip\fi}
  559. \def\bigbreak{\par\ifdim\lastskip<\bigskipamount
  560.   \removelastskip\penalty-200\bigskip\fi}
  561.  
  562. \def\line{\hbox to\hsize}
  563. \def\leftline#1{\line{#1\hss}}
  564. \def\rightline#1{\line{\hss#1}}
  565. \def\centerline#1{\line{\hss#1\hss}}
  566.  
  567. \def\rlap#1{\hbox to\z@{#1\hss}}
  568. \def\llap#1{\hbox to\z@{\hss#1}}
  569.  
  570. \def\m@th{\mathsurround=\z@}
  571. \def\underbar#1{$\setbox\z@\hbox{#1}\dp\z@\z@
  572.   \m@th \underline{\box\z@}$}
  573.  
  574. \newbox\strutbox
  575. \setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@}
  576. \def\strut{\relax\ifmmode\copy\strutbox\else\unhcopy\strutbox\fi}
  577.  
  578. \def\hidewidth{\hskip\hideskip} % for alignment entries that can stick out
  579. \def\ialign{\everycr{}\tabskip\z@skip\halign} % initialized \halign
  580. \newcount\mscount
  581. \def\multispan#1{\omit \mscount#1
  582.   \loop\ifnum\mscount>\@ne \sp@n\repeat}
  583. \def\sp@n{\span\omit\advance\mscount\m@ne}
  584.  
  585. \newif\ifus@ \newif\if@cr
  586. \newbox\tabs \newbox\tabsyet \newbox\tabsdone
  587.  
  588. \def\cleartabs{\global\setbox\tabsyet\null \setbox\tabs\null}
  589. \def\settabs{\setbox\tabs\null \futurelet\next\sett@b}
  590. \let\+=\relax % in case this file is being read in twice
  591. \def\sett@b{\ifx\next\+\let\next\relax
  592.     \def\next{\afterassignment\s@tt@b\let\next}%
  593.   \else\let\next\s@tcols\fi\next}
  594. \def\s@tt@b{\let\next\relax\us@false\m@ketabbox}
  595. \def\tabalign{\us@true\m@ketabbox} % non-\outer version of \+
  596. \outer\def\+{\tabalign}
  597. \def\s@tcols#1\columns{\count@#1 \dimen@\hsize
  598.   \loop\ifnum\count@>\z@ \@nother \repeat}
  599. \def\@nother{\dimen@ii\dimen@ \divide\dimen@ii\count@
  600.   \setbox\tabs\hbox{\hbox to\dimen@ii{}\unhbox\tabs}%
  601.   \advance\dimen@-\dimen@ii \advance\count@\m@ne}
  602.  
  603. \def\m@ketabbox{\begingroup
  604.   \global\setbox\tabsyet\copy\tabs
  605.   \global\setbox\tabsdone\null
  606.   \def\cr{\@crtrue\crcr\egroup\egroup
  607.     \ifus@\unvbox\z@\lastbox\fi\endgroup
  608.     \setbox\tabs\hbox{\unhbox\tabsyet\unhbox\tabsdone}}%
  609.   \setbox\z@\vbox\bgroup\@crfalse
  610.     \ialign\bgroup&\t@bbox##\t@bb@x\crcr}
  611.  
  612. \def\t@bbox{\setbox\z@\hbox\bgroup}
  613. \def\t@bb@x{\if@cr\egroup % now \box\z@ holds the column
  614.   \else\hss\egroup \global\setbox\tabsyet\hbox{\unhbox\tabsyet
  615.       \global\setbox\@ne\lastbox}% now \box\@ne holds its size
  616.     \ifvoid\@ne\global\setbox\@ne\hbox to\wd\z@{}%
  617.     \else\setbox\z@\hbox to\wd\@ne{\unhbox\z@}\fi
  618.     \global\setbox\tabsdone\hbox{\box\@ne\unhbox\tabsdone}\fi
  619.   \box\z@}
  620.  
  621. \def\hang{\hangindent\parindent}
  622. \def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
  623. \def\item{\par\hang\textindent}
  624. \def\itemitem{\par\indent \hangindent2\parindent \textindent}
  625. \def\narrower{\advance\leftskip\parindent
  626.   \advance\rightskip\parindent}
  627.  
  628. \outer\def\beginsection#1\par{\vskip\z@ plus.3\vsize\penalty-250
  629.   \vskip\z@ plus-.3\vsize\bigskip\vskip\parskip
  630.   \message{#1}\leftline{\bf#1}\nobreak\smallskip\noindent}
  631. \outer\def\proclaim #1. #2\par{\medbreak
  632.   \noindent{\bf#1.\enspace}{\sl#2}\par
  633.   \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi}
  634.  
  635. \def\raggedright{\rightskip\z@ plus2em \spaceskip.3333em \xspaceskip.5em\relax}
  636. \def\ttraggedright{\tt\rightskip\z@ plus2em\relax} % for use with \tt only
  637.  
  638. \chardef\%=`\%
  639. \chardef\&=`\&
  640. \chardef\#=`\#
  641. \chardef\$=`\$
  642. \chardef\ss="19
  643. \chardef\ae="1A
  644. \chardef\oe="1B
  645. \chardef\o="1C
  646. \chardef\AE="1D
  647. \chardef\OE="1E
  648. \chardef\O="1F
  649. \chardef\i="10 \chardef\j="11 % dotless letters
  650. \def\aa{\accent23a}
  651. \def\l{\char32l}
  652. \def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}
  653.  
  654. \def\leavevmode{\unhbox\voidb@x} % begins a paragraph, if necessary
  655. \def\_{\leavevmode \kern.06em \vbox{\hrule width.3em}}
  656. \def\AA{\leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
  657.   \rlap{\raise.67\dimen@\hbox{\char'27}}A}
  658.  
  659. \def\mathhexbox#1#2#3{\leavevmode
  660.   \hbox{$\m@th \mathchar"#1#2#3$}}
  661. \def\dag{\mathhexbox279}
  662. \def\ddag{\mathhexbox27A}
  663. \def\S{\mathhexbox278}
  664. \def\P{\mathhexbox27B}
  665.  
  666. \def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
  667.   \ialign{##\crcr#1\crcr}}} % put characters over each other
  668. \def\ooalign{\lineskiplimit-\maxdimen \oalign}
  669. \def\d#1{\oalign{#1\crcr\hidewidth.\hidewidth}}
  670. \def\b#1{\oalign{#1\crcr\hidewidth
  671.     \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}
  672. \def\c#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1%
  673.   \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox\z@}}\fi}
  674. \def\copyright{{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr\mathhexbox20D}}}
  675.  
  676. \def\dots{\relax\ifmmode\ldots\else$\m@th\ldots\,$\fi}
  677. \def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
  678.  
  679. \def\`#1{{\accent18 #1}}
  680. \def\'#1{{\accent19 #1}}
  681. \def\v#1{{\accent20 #1}} \let\^^_=\v
  682. \def\u#1{{\accent21 #1}} \let\^^S=\u
  683. \def\=#1{{\accent22 #1}}
  684. \def\^#1{{\accent94 #1}} \let\^^D=\^
  685. \def\.#1{{\accent95 #1}}
  686. \def\H#1{{\accent"7D #1}}
  687. \def\~#1{{\accent"7E #1}}
  688. \def\"#1{{\accent"7F #1}}
  689. \def\t#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}}
  690.  
  691. \def\hrulefill{\leaders\hrule\hfill}
  692. \def\dotfill{\cleaders\hbox{$\m@th \mkern1.5mu.\mkern1.5mu$}\hfill}
  693. \def\rightarrowfill{$\m@th\mathord-\mkern-6mu%
  694.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  695.   \mkern-6mu\mathord\rightarrow$}
  696. \def\leftarrowfill{$\m@th\mathord\leftarrow\mkern-6mu%
  697.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  698.   \mkern-6mu\mathord-$}
  699. \mathchardef\braceld="37A \mathchardef\bracerd="37B
  700. \mathchardef\bracelu="37C \mathchardef\braceru="37D
  701. \def\downbracefill{$\m@th\braceld\leaders\vrule\hfill\braceru
  702.   \bracelu\leaders\vrule\hfill\bracerd$}
  703. \def\upbracefill{$\m@th\bracelu\leaders\vrule\hfill\bracerd
  704.   \braceld\leaders\vrule\hfill\braceru$}
  705.  
  706. \outer\def\bye{\par\vfill\supereject\end}
  707.  
  708. % Macros for math setting
  709. \message{math definitions,}
  710.  
  711. \let\sp=^ \let\sb=_
  712. \def\,{\mskip\thinmuskip}
  713. \def\>{\mskip\medmuskip}
  714. \def\;{\mskip\thickmuskip}
  715. \def\!{\mskip-\thinmuskip}
  716. \def\*{\discretionary{\thinspace\the\textfont2\char2}{}{}}
  717. {\catcode`\'=\active \gdef'{^\bgroup\prim@s}}
  718. \def\prim@s{\prime\futurelet\next\pr@m@s}
  719. \def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t
  720.   \else\let\nxt\egroup\fi\fi \nxt}
  721. \def\pr@@@s#1{\prim@s} \def\pr@@@t#1#2{#2\egroup}
  722. {\catcode`\^^Z=\active \gdef^^Z{\not=}} % ^^Z is like \ne in math
  723.  
  724. {\catcode`\_=\active \global\let_=\_} % _ in math is either subscript or \_
  725.  
  726. \mathchardef\alpha="010B
  727. \mathchardef\beta="010C
  728. \mathchardef\gamma="010D
  729. \mathchardef\delta="010E
  730. \mathchardef\epsilon="010F
  731. \mathchardef\zeta="0110
  732. \mathchardef\eta="0111
  733. \mathchardef\theta="0112
  734. \mathchardef\iota="0113
  735. \mathchardef\kappa="0114
  736. \mathchardef\lambda="0115
  737. \mathchardef\mu="0116
  738. \mathchardef\nu="0117
  739. \mathchardef\xi="0118
  740. \mathchardef\pi="0119
  741. \mathchardef\rho="011A
  742. \mathchardef\sigma="011B
  743. \mathchardef\tau="011C
  744. \mathchardef\upsilon="011D
  745. \mathchardef\phi="011E
  746. \mathchardef\chi="011F
  747. \mathchardef\psi="0120
  748. \mathchardef\omega="0121
  749. \mathchardef\varepsilon="0122
  750. \mathchardef\vartheta="0123
  751. \mathchardef\varpi="0124
  752. \mathchardef\varrho="0125
  753. \mathchardef\varsigma="0126
  754. \mathchardef\varphi="0127
  755. \mathchardef\Gamma="7000
  756. \mathchardef\Delta="7001
  757. \mathchardef\Theta="7002
  758. \mathchardef\Lambda="7003
  759. \mathchardef\Xi="7004
  760. \mathchardef\Pi="7005
  761. \mathchardef\Sigma="7006
  762. \mathchardef\Upsilon="7007
  763. \mathchardef\Phi="7008
  764. \mathchardef\Psi="7009
  765. \mathchardef\Omega="700A
  766.  
  767. \mathchardef\aleph="0240
  768. \def\hbar{{\mathchar'26\mkern-9muh}}
  769. \mathchardef\imath="017B
  770. \mathchardef\jmath="017C
  771. \mathchardef\ell="0160
  772. \mathchardef\wp="017D
  773. \mathchardef\Re="023C
  774. \mathchardef\Im="023D
  775. \mathchardef\partial="0140
  776. \mathchardef\infty="0231
  777. \mathchardef\prime="0230
  778. \mathchardef\emptyset="023B
  779. \mathchardef\nabla="0272
  780. \def\surd{{\mathchar"1270}}
  781. \mathchardef\top="023E
  782. \mathchardef\bot="023F
  783. \def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
  784.       \not\mathrel{\mkern14mu}\crcr
  785.       \noalign{\nointerlineskip}
  786.       \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}}
  787. \mathchardef\triangle="0234
  788. \mathchardef\forall="0238
  789. \mathchardef\exists="0239
  790. \mathchardef\neg="023A \let\lnot=\neg
  791. \mathchardef\flat="015B
  792. \mathchardef\natural="015C
  793. \mathchardef\sharp="015D
  794. \mathchardef\clubsuit="027C
  795. \mathchardef\diamondsuit="027D
  796. \mathchardef\heartsuit="027E
  797. \mathchardef\spadesuit="027F
  798.  
  799. \mathchardef\coprod="1360
  800. \mathchardef\bigvee="1357
  801. \mathchardef\bigwedge="1356
  802. \mathchardef\biguplus="1355
  803. \mathchardef\bigcap="1354
  804. \mathchardef\bigcup="1353
  805. \mathchardef\intop="1352 \def\int{\intop\nolimits}
  806. \mathchardef\prod="1351
  807. \mathchardef\sum="1350
  808. \mathchardef\bigotimes="134E
  809. \mathchardef\bigoplus="134C
  810. \mathchardef\bigodot="134A
  811. \mathchardef\ointop="1348 \def\oint{\ointop\nolimits}
  812. \mathchardef\bigsqcup="1346
  813. \mathchardef\smallint="1273
  814.  
  815. \mathchardef\triangleleft="212F
  816. \mathchardef\triangleright="212E
  817. \mathchardef\bigtriangleup="2234
  818. \mathchardef\bigtriangledown="2235
  819. \mathchardef\wedge="225E \let\land=\wedge
  820. \mathchardef\vee="225F \let\lor=\vee
  821. \mathchardef\cap="225C
  822. \mathchardef\cup="225B
  823. \mathchardef\ddagger="227A
  824. \mathchardef\dagger="2279
  825. \mathchardef\sqcap="2275
  826. \mathchardef\sqcup="2274
  827. \mathchardef\uplus="225D
  828. \mathchardef\amalg="2271
  829. \mathchardef\diamond="2205
  830. \mathchardef\bullet="220F
  831. \mathchardef\wr="226F
  832. \mathchardef\div="2204
  833. \mathchardef\odot="220C
  834. \mathchardef\oslash="220B
  835. \mathchardef\otimes="220A
  836. \mathchardef\ominus="2209
  837. \mathchardef\oplus="2208
  838. \mathchardef\mp="2207
  839. \mathchardef\pm="2206
  840. \mathchardef\circ="220E
  841. \mathchardef\bigcirc="220D
  842. \mathchardef\setminus="226E % for set difference A\setminus B
  843. \mathchardef\cdot="2201
  844. \mathchardef\ast="2203
  845. \mathchardef\times="2202
  846. \mathchardef\star="213F
  847.  
  848. \mathchardef\propto="322F
  849. \mathchardef\sqsubseteq="3276
  850. \mathchardef\sqsupseteq="3277
  851. \mathchardef\parallel="326B
  852. \mathchardef\mid="326A
  853. \mathchardef\dashv="3261
  854. \mathchardef\vdash="3260
  855. \mathchardef\nearrow="3225
  856. \mathchardef\searrow="3226
  857. \mathchardef\nwarrow="322D
  858. \mathchardef\swarrow="322E
  859. \mathchardef\Leftrightarrow="322C
  860. \mathchardef\Leftarrow="3228
  861. \mathchardef\Rightarrow="3229
  862. \def\neq{\not=} \let\ne=\neq
  863. \mathchardef\leq="3214 \let\le=\leq
  864. \mathchardef\geq="3215 \let\ge=\geq
  865. \mathchardef\succ="321F
  866. \mathchardef\prec="321E
  867. \mathchardef\approx="3219
  868. \mathchardef\succeq="3217
  869. \mathchardef\preceq="3216
  870. \mathchardef\supset="321B
  871. \mathchardef\subset="321A
  872. \mathchardef\supseteq="3213
  873. \mathchardef\subseteq="3212
  874. \mathchardef\in="3232
  875. \mathchardef\ni="3233 \let\owns=\ni
  876. \mathchardef\gg="321D
  877. \mathchardef\ll="321C
  878. \mathchardef\not="3236
  879. \mathchardef\leftrightarrow="3224
  880. \mathchardef\leftarrow="3220 \let\gets=\leftarrow
  881. \mathchardef\rightarrow="3221 \let\to=\rightarrow
  882. \mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow}
  883. \mathchardef\sim="3218
  884. \mathchardef\simeq="3227
  885. \mathchardef\perp="323F
  886. \mathchardef\equiv="3211
  887. \mathchardef\asymp="3210
  888. \mathchardef\smile="315E
  889. \mathchardef\frown="315F
  890. \mathchardef\leftharpoonup="3128
  891. \mathchardef\leftharpoondown="3129
  892. \mathchardef\rightharpoonup="312A
  893. \mathchardef\rightharpoondown="312B
  894.  
  895. \def\joinrel{\mathrel{\mkern-3mu}}
  896. \def\relbar{\mathrel{\smash-}} % \smash, because - has the same height as +
  897. \def\Relbar{\mathrel=}
  898. \mathchardef\lhook="312C \def\hookrightarrow{\lhook\joinrel\rightarrow}
  899. \mathchardef\rhook="312D \def\hookleftarrow{\leftarrow\joinrel\rhook}
  900. \def\bowtie{\mathrel\triangleright\joinrel\mathrel\triangleleft}
  901. \def\models{\mathrel|\joinrel=}
  902. \def\Longrightarrow{\Relbar\joinrel\Rightarrow}
  903. \def\longrightarrow{\relbar\joinrel\rightarrow}
  904. \def\longleftarrow{\leftarrow\joinrel\relbar}
  905. \def\Longleftarrow{\Leftarrow\joinrel\Relbar}
  906. \def\longmapsto{\mapstochar\longrightarrow}
  907. \def\longleftrightarrow{\leftarrow\joinrel\rightarrow}
  908. \def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow}
  909. \def\iff{\;\Longleftrightarrow\;}
  910.  
  911. \mathchardef\ldotp="602E % ldot as a punctuation mark
  912. \mathchardef\cdotp="6201 % cdot as a punctuation mark
  913. \mathchardef\colon="603A % colon as a punctuation mark
  914. \def\ldots{\mathinner{\ldotp\ldotp\ldotp}}
  915. \def\cdots{\mathinner{\cdotp\cdotp\cdotp}}
  916. \def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
  917.     \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
  918. \def\ddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu
  919.     \raise4\p@\hbox{.}\mkern2mu\raise\p@\hbox{.}\mkern1mu}}
  920.  
  921. \def\acute{\mathaccent"7013 }
  922. \def\grave{\mathaccent"7012 }
  923. \def\ddot{\mathaccent"707F }
  924. \def\tilde{\mathaccent"707E }
  925. \def\bar{\mathaccent"7016 }
  926. \def\breve{\mathaccent"7015 }
  927. \def\check{\mathaccent"7014 }
  928. \def\hat{\mathaccent"705E }
  929. \def\vec{\mathaccent"017E }
  930. \def\dot{\mathaccent"705F }
  931. \def\widetilde{\mathaccent"0365 }
  932. \def\widehat{\mathaccent"0362 }
  933. \def\overrightarrow#1{\vbox{\ialign{##\crcr
  934.       \rightarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  935.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  936. \def\overleftarrow#1{\vbox{\ialign{##\crcr
  937.       \leftarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  938.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  939. \def\overbrace#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern3\p@}
  940.       \downbracefill\crcr\noalign{\kern3\p@\nointerlineskip}
  941.       $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
  942. \def\underbrace#1{\mathop{\vtop{\ialign{##\crcr
  943.       $\hfil\displaystyle{#1}\hfil$\crcr\noalign{\kern3\p@\nointerlineskip}
  944.       \upbracefill\crcr\noalign{\kern3\p@}}}}\limits}
  945. \def\skew#1#2#3{{#2{#3\mkern#1mu}\mkern-#1mu}{}}
  946.  
  947. \def\lmoustache{\delimiter"4000340 } % top from (, bottom from )
  948. \def\rmoustache{\delimiter"5000341 } % top from ), bottom from (
  949. \def\lgroup{\delimiter"400033A } % extensible ( with sharper tips
  950. \def\rgroup{\delimiter"500033B } % extensible ) with sharper tips
  951. \def\arrowvert{\delimiter"33C } % arrow without arrowheads
  952. \def\Arrowvert{\delimiter"33D } % double arrow without arrowheads
  953. \def\bracevert{\delimiter"33E } % the vertical bar that extends braces
  954. \def\Vert{\delimiter"26B30D } \let\|=\Vert
  955. \def\vert{\delimiter"26A30C }
  956. \def\uparrow{\delimiter"3222378 }
  957. \def\downarrow{\delimiter"3223379 }
  958. \def\updownarrow{\delimiter"326C33F }
  959. \def\Uparrow{\delimiter"322A37E }
  960. \def\Downarrow{\delimiter"322B37F }
  961. \def\Updownarrow{\delimiter"326D377 }
  962. \def\backslash{\delimiter"26E30F } % for double coset G\backslash H
  963. \def\rangle{\delimiter"526930B }
  964. \def\langle{\delimiter"426830A }
  965. \def\rbrace{\delimiter"5267309 } \let\}=\rbrace
  966. \def\lbrace{\delimiter"4266308 } \let\{=\lbrace
  967. \def\rceil{\delimiter"5265307 }
  968. \def\lceil{\delimiter"4264306 }
  969. \def\rfloor{\delimiter"5263305 }
  970. \def\lfloor{\delimiter"4262304 }
  971.  
  972. \def\bigl{\mathopen\big}
  973. \def\bigm{\mathrel\big}
  974. \def\bigr{\mathclose\big}
  975. \def\Bigl{\mathopen\Big}
  976. \def\Bigm{\mathrel\Big}
  977. \def\Bigr{\mathclose\Big}
  978. \def\biggl{\mathopen\bigg}
  979. \def\biggm{\mathrel\bigg}
  980. \def\biggr{\mathclose\bigg}
  981. \def\Biggl{\mathopen\Bigg}
  982. \def\Biggm{\mathrel\Bigg}
  983. \def\Biggr{\mathclose\Bigg}
  984. \def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}}
  985. \def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}}
  986. \def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}}
  987. \def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}}
  988. \def\n@space{\nulldelimiterspace\z@ \m@th}
  989.  
  990. \def\choose{\atopwithdelims()}
  991. \def\brack{\atopwithdelims[]}
  992. \def\brace{\atopwithdelims\{\}}
  993.  
  994. \def\sqrt{\radical"270370 }
  995.  
  996. \def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}%
  997.   {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}}
  998. \newbox\rootbox
  999. \def\root#1\of{\setbox\rootbox\hbox{$\m@th\scriptscriptstyle{#1}$}
  1000.   \mathpalette\r@@t}
  1001. \def\r@@t#1#2{\setbox\z@\hbox{$\m@th#1\sqrt{#2}$}
  1002.   \dimen@\ht\z@ \advance\dimen@-\dp\z@
  1003.   \mkern5mu\raise.6\dimen@\copy\rootbox \mkern-10mu \box\z@}
  1004. \newif\ifv@ \newif\ifh@
  1005. \def\vphantom{\v@true\h@false\ph@nt}
  1006. \def\hphantom{\v@false\h@true\ph@nt}
  1007. \def\phantom{\v@true\h@true\ph@nt}
  1008. \def\ph@nt{\ifmmode\def\next{\mathpalette\mathph@nt}%
  1009.   \else\let\next\makeph@nt\fi\next}
  1010. \def\makeph@nt#1{\setbox\z@\hbox{#1}\finph@nt}
  1011. \def\mathph@nt#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finph@nt}
  1012. \def\finph@nt{\setbox\tw@\null
  1013.   \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi
  1014.   \ifh@ \wd\tw@\wd\z@\fi \box\tw@}
  1015. \def\mathstrut{\vphantom(}
  1016. \def\smash{\relax % \relax, in case this comes first in \halign
  1017.   \ifmmode\def\next{\mathpalette\mathsm@sh}\else\let\next\makesm@sh
  1018.   \fi\next}
  1019. \def\makesm@sh#1{\setbox\z@\hbox{#1}\finsm@sh}
  1020. \def\mathsm@sh#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh}
  1021. \def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@}
  1022.  
  1023. \def\cong{\mathrel{\mathpalette\@vereq\sim}} % congruence sign
  1024. \def\@vereq#1#2{\lower.5\p@\vbox{\baselineskip\z@skip\lineskip-.5\p@
  1025.     \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}}
  1026. \def\notin{\mathrel{\mathpalette\c@ncel\in}}
  1027. \def\c@ncel#1#2{\ooalign{$\hfil#1\mkern1mu/\hfil$\crcr$#1#2$}}
  1028. \def\rightleftharpoons{\mathrel{\mathpalette\rlh@{}}}
  1029. \def\rlh@#1{\vcenter{\hbox{\ooalign{\raise2pt
  1030.           \hbox{$#1\rightharpoonup$}\crcr
  1031.         $#1\leftharpoondown$}}}}
  1032. \def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}}
  1033. \def\doteq{\buildrel\textstyle.\over=}
  1034.  
  1035. \def\log{\mathop{\rm log}\nolimits}
  1036. \def\lg{\mathop{\rm lg}\nolimits}
  1037. \def\ln{\mathop{\rm ln}\nolimits}
  1038. \def\lim{\mathop{\rm lim}}
  1039. \def\limsup{\mathop{\rm lim\,sup}}
  1040. \def\liminf{\mathop{\rm lim\,inf}}
  1041. \def\sin{\mathop{\rm sin}\nolimits}
  1042. \def\arcsin{\mathop{\rm arcsin}\nolimits}
  1043. \def\sinh{\mathop{\rm sinh}\nolimits}
  1044. \def\cos{\mathop{\rm cos}\nolimits}
  1045. \def\arccos{\mathop{\rm arccos}\nolimits}
  1046. \def\cosh{\mathop{\rm cosh}\nolimits}
  1047. \def\tan{\mathop{\rm tan}\nolimits}
  1048. \def\arctan{\mathop{\rm arctan}\nolimits}
  1049. \def\tanh{\mathop{\rm tanh}\nolimits}
  1050. \def\cot{\mathop{\rm cot}\nolimits}
  1051. \def\coth{\mathop{\rm coth}\nolimits}
  1052. \def\sec{\mathop{\rm sec}\nolimits}
  1053. \def\csc{\mathop{\rm csc}\nolimits}
  1054. \def\max{\mathop{\rm max}}
  1055. \def\min{\mathop{\rm min}}
  1056. \def\sup{\mathop{\rm sup}}
  1057. \def\inf{\mathop{\rm inf}}
  1058. \def\arg{\mathop{\rm arg}\nolimits}
  1059. \def\ker{\mathop{\rm ker}\nolimits}
  1060. \def\dim{\mathop{\rm dim}\nolimits}
  1061. \def\hom{\mathop{\rm hom}\nolimits}
  1062. \def\det{\mathop{\rm det}}
  1063. \def\exp{\mathop{\rm exp}\nolimits}
  1064. \def\Pr{\mathop{\rm Pr}}
  1065. \def\gcd{\mathop{\rm gcd}}
  1066. \def\deg{\mathop{\rm deg}\nolimits}
  1067.  
  1068. \def\bmod{\mskip-\medmuskip\mkern5mu
  1069.   \mathbin{\rm mod}\penalty900\mkern5mu\mskip-\medmuskip}
  1070. \def\pmod#1{\allowbreak\mkern18mu({\rm mod}\,\,#1)}
  1071.  
  1072. \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th
  1073.     \ialign{$##\hfil$&\quad##\hfil\crcr#1\crcr}}\right.}
  1074. \def\matrix#1{\null\,\vcenter{\normalbaselines\m@th
  1075.     \ialign{\hfil$##$\hfil&&\quad\hfil$##$\hfil\crcr
  1076.       \mathstrut\crcr\noalign{\kern-\baselineskip}
  1077.       #1\crcr\mathstrut\crcr\noalign{\kern-\baselineskip}}}\,}
  1078. \def\pmatrix#1{\left(\matrix{#1}\right)}
  1079. \newdimen\p@renwd
  1080. \setbox0=\hbox{\tenex B} \p@renwd=\wd0 % width of the big left (
  1081. \def\bordermatrix#1{\begingroup \m@th
  1082.   \setbox\z@\vbox{\def\cr{\crcr\noalign{\kern2\p@\global\let\cr\endline}}%
  1083.     \ialign{$##$\hfil\kern2\p@\kern\p@renwd&\thinspace\hfil$##$\hfil
  1084.       &&\quad\hfil$##$\hfil\crcr
  1085.       \omit\strut\hfil\crcr\noalign{\kern-\baselineskip}%
  1086.       #1\crcr\omit\strut\cr}}%
  1087.   \setbox\tw@\vbox{\unvcopy\z@\global\setbox\@ne\lastbox}%
  1088.   \setbox\tw@\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}%
  1089.   \setbox\tw@\hbox{$\kern\wd\@ne\kern-\p@renwd\left(\kern-\wd\@ne
  1090.     \global\setbox\@ne\vbox{\box\@ne\kern2\p@}%
  1091.     \vcenter{\kern-\ht\@ne\unvbox\z@\kern-\baselineskip}\,\right)$}%
  1092.   \null\;\vbox{\kern\ht\@ne\box\tw@}\endgroup}
  1093.  
  1094. \def\openup{\afterassignment\@penup\dimen@=}
  1095. \def\@penup{\advance\lineskip\dimen@
  1096.   \advance\baselineskip\dimen@
  1097.   \advance\lineskiplimit\dimen@}
  1098. \def\eqalign#1{\null\,\vcenter{\openup\jot\m@th
  1099.   \ialign{\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil
  1100.       \crcr#1\crcr}}\,}
  1101. \newif\ifdt@p
  1102. \def\displ@y{\global\dt@ptrue\openup\jot\m@th
  1103.   \everycr{\noalign{\ifdt@p \global\dt@pfalse
  1104.       \vskip-\lineskiplimit \vskip\normallineskiplimit
  1105.       \else \penalty\interdisplaylinepenalty \fi}}}
  1106. \def\@lign{\tabskip\z@skip\everycr{}} % restore inside \displ@y
  1107. \def\displaylines#1{\displ@y
  1108.   \halign{\hbox to\displaywidth{$\@lign\hfil\displaystyle##\hfil$}\crcr
  1109.     #1\crcr}}
  1110. \def\eqalignno#1{\displ@y \tabskip\centering
  1111.   \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1112.     &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1113.     &\llap{$\@lign##$}\tabskip\z@skip\crcr
  1114.     #1\crcr}}
  1115. \def\leqalignno#1{\displ@y \tabskip\centering
  1116.   \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1117.     &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1118.     &\kern-\displaywidth\rlap{$\@lign##$}\tabskip\displaywidth\crcr
  1119.     #1\crcr}}
  1120.  
  1121. % Definitions related to output
  1122.  
  1123. \message{output routines,}
  1124.  
  1125. \countdef\pageno=0 \pageno=1 % first page is number 1
  1126. \newtoks\headline \headline={\hfil} % headline is normally blank
  1127. \newtoks\footline \footline={\hss\tenrm\folio\hss}
  1128.   % footline is normally a centered page number in font \tenrm
  1129. \newif\ifr@ggedbottom
  1130. \def\raggedbottom{\topskip 10\p@ plus60\p@ \r@ggedbottomtrue}
  1131. \def\normalbottom{\topskip 10\p@ \r@ggedbottomfalse} % undoes \raggedbottom
  1132. \def\folio{\ifnum\pageno<\z@ \romannumeral-\pageno \else\number\pageno \fi}
  1133. \def\nopagenumbers{\footline{\hfil}} % blank out the footline
  1134. \def\advancepageno{\ifnum\pageno<\z@ \global\advance\pageno\m@ne
  1135.   \else\global\advance\pageno\@ne \fi} % increase |pageno|
  1136.  
  1137. \newinsert\footins
  1138. \def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
  1139.   \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
  1140.   #1\@sf\vfootnote{#1}}
  1141. \def\vfootnote#1{\insert\footins\bgroup
  1142.   \interlinepenalty\interfootnotelinepenalty
  1143.   \splittopskip\ht\strutbox % top baseline for broken footnotes
  1144.   \splitmaxdepth\dp\strutbox \floatingpenalty\@MM
  1145.   \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip
  1146.   \textindent{#1}\footstrut\futurelet\next\fo@t}
  1147. \def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t
  1148.   \else\let\next\f@t\fi \next}
  1149. \def\f@@t{\bgroup\aftergroup\@foot\let\next}
  1150. \def\f@t#1{#1\@foot}
  1151. \def\@foot{\strut\egroup}
  1152. \def\footstrut{\vbox to\splittopskip{}}
  1153. \skip\footins=\bigskipamount % space added when footnote is present
  1154. \count\footins=1000 % footnote magnification factor (1 to 1)
  1155. \dimen\footins=8in % maximum footnotes per page
  1156.  
  1157. \newinsert\topins
  1158. \newif\ifp@ge \newif\if@mid
  1159. \def\topinsert{\@midfalse\p@gefalse\@ins}
  1160. \def\midinsert{\@midtrue\@ins}
  1161. \def\pageinsert{\@midfalse\p@getrue\@ins}
  1162. \skip\topins=\z@skip % no space added when a topinsert is present
  1163. \count\topins=1000 % magnification factor (1 to 1)
  1164. \dimen\topins=\maxdimen % no limit per page
  1165. \def\@ins{\par\begingroup\setbox\z@\vbox\bgroup} % start a \vbox
  1166. \def\endinsert{\egroup % finish the \vbox
  1167.   \if@mid \dimen@\ht\z@ \advance\dimen@\dp\z@
  1168.     \advance\dimen@12\p@ \advance\dimen@\pagetotal
  1169.     \ifdim\dimen@>\pagegoal\@midfalse\p@gefalse\fi\fi
  1170.   \if@mid \bigskip\box\z@\bigbreak
  1171.   \else\insert\topins{\penalty100 % floating insertion
  1172.     \splittopskip\z@skip
  1173.     \splitmaxdepth\maxdimen \floatingpenalty\z@
  1174.     \ifp@ge \dimen@\dp\z@
  1175.     \vbox to\vsize{\unvbox\z@\kern-\dimen@}% depth is zero
  1176.     \else \box\z@\nobreak\bigskip\fi}\fi\endgroup}
  1177.  
  1178. \output{\plainoutput}
  1179. \def\plainoutput{\shipout\vbox{\makeheadline\pagebody\makefootline}%
  1180.   \advancepageno
  1181.   \ifnum\outputpenalty>-\@MM \else\dosupereject\fi}
  1182. \def\pagebody{\vbox to\vsize{\boxmaxdepth\maxdepth \pagecontents}}
  1183. \def\makeheadline{\vbox to\z@{\vskip-22.5\p@
  1184.   \line{\vbox to8.5\p@{}\the\headline}\vss}\nointerlineskip}
  1185. \def\makefootline{\baselineskip24\p@\line{\the\footline}}
  1186. \def\dosupereject{\ifnum\insertpenalties>\z@ % something is being held over
  1187.   \line{}\kern-\topskip\nobreak\vfill\supereject\fi}
  1188.  
  1189. \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi
  1190.   \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255
  1191.   \ifvoid\footins\else % footnote info is present
  1192.     \vskip\skip\footins
  1193.     \footnoterule
  1194.     \unvbox\footins\fi
  1195.   \ifr@ggedbottom \kern-\dimen@ \vfil \fi}
  1196. \def\footnoterule{\kern-3\p@
  1197.   \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high
  1198.  
  1199. % Hyphenation, miscellaneous macros, and initial values for standard layout
  1200. \message{hyphenation}
  1201.  
  1202. \input hyphen
  1203.  
  1204. \def\magnification{\afterassignment\m@g\count@}
  1205. \def\m@g{\mag\count@
  1206.   \hsize6.5truein\vsize8.9truein\dimen\footins8truein}
  1207.  
  1208. \def\tracingall{\tracingonline\@ne\tracingcommands\tw@\tracingstats\tw@
  1209.   \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne
  1210.   \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne
  1211.   \showboxbreadth\maxdimen\showboxdepth\maxdimen\errorstopmode}
  1212.  
  1213. \def\showhyphens#1{\setbox0\vbox{\parfillskip\z@skip\hsize\maxdimen\tenrm
  1214.   \pretolerance\m@ne\tolerance\m@ne\hbadness0\showboxdepth0\ #1}}
  1215.  
  1216. \normalbaselines\rm % select roman font
  1217. \nonfrenchspacing % punctuation affects the spacing
  1218. \catcode`@=12 % at signs are no longer letters
  1219.  
  1220. \def\fmtname{plain}\def\fmtversion{2.3} % identifies the current format
  1221.